const DB = require('../../utils/db');
module.exports = {
	list: async () => {
		let sql = `select id, name, remark, date_format(create_time,'%Y-%m-%d %H:%i:%s') createTime, 
            date_format(update_time,'%Y-%m-%d %H:%i:%s') updateTime from t_acticle_type where name<>'生活记录' `;

		let [list] = await DB.query(sql);
		return list;
	}
};
